<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'JspLogin.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">

	<link rel="stylesheet" type="text/css" href="css/Login.css">
	

  </head>
  
  <body>
  
  <div id="tuijian"><img  width="90px" height="90px" src="img/tuijian.jpg"></div>
  <div style="margin-top: 0px;"><img src="img/dangdang.jpg"/></div>
   <div id="login">
   <div id="left" ><div id="lijian"> <img width="360px" height="500px"  alt="今日力荐" src="img/thinkinjava.png"></div>
      </div>
      <div  id="loginright"><form action="SessionServlet" method="post">
       <% if(request.getParameter("check")!=null)
       {%>
            <div    style=" width :200px;
                            height:20px;
                            border:1px solid #FF8080;
	                        margin-top:10px;
	                        background-color:#FFF2F2;
	                        margin-left:60px;
	                        margin-top:10px;
	                        "> <img src="img/wrong.png"/><font size="2" >用户名或密码错误<a  style="color: #55A3FF"  href="http://www.baidu.com">忘记用户名？</a></font> </div>
       <% }%>
       <div  id="username"> <font size="2" >账户名</font> <input type="text" name="username"></div>
       <div id="password"> <font size="2" >密&nbsp&nbsp码&nbsp</font><input type="text" name="password"></div>
          
        <div id="autologin" ><input type="checkbox" name="auto"/><font size="1">一周自动登录</font></div>
             
     <div id="loginton"><input type="submit" value="登录"><a href="http://www.baidu.com" style="text-decoration: none"><font id="remeber" size="1" color="blcak"> &nbsp忘记密码?</font></a></div>
    
    </form>
    </div>
    </div>
     <%@include file="inc/footer.inc" %>
  </body>
</html>
